﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wechat.Dto.Response
{
    public class WechatMemuResponse : PagedResponse
    {
        /// <summary>
        /// WechatId
        /// </summary>
        public int WechatId { get; set; }

        /// <summary>
        /// WechatName
        /// </summary>
        public string WechatName { get; set; }

        /// <summary>
        /// WechatUrl
        /// </summary>
        public string WechatUrl { get; set; }

        /// <summary>
        /// WechatType
        /// </summary>
        public string WechatType { get; set; }

        /// <summary>
        /// ParentId
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// OperaterId
        /// </summary>
        public int? OperaterId { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// LastUpdateOperaterId
        /// </summary>
        public int? LastUpdateOperaterId { get; set; }

        /// <summary>
        /// LastUpdateTime
        /// </summary>
        public DateTime? LastUpdateTime { get; set; }

        /// <summary>
        /// IsEnable
        /// </summary>
        public bool IsEnable { get; set; }

    }

    /// <summary>
    /// 微信页面菜单
    /// </summary>
    public class WechatMemuNode
    {
        public int Sort { get; set; }
        public string Type { get; set; }
        public int Id { get; set; }
        public int ParentId { get; set; }
        public string Name { get; set; }
        public int IsExpand { get; set; }
        public List<WechatMemuNode> Nodes { get; set; }
    }
}
